<style type="text/css" media="all">

.ImgContainer {
		display: table-cell;
		
	}
.blankDiv {
	width:100%;
}

</style>

<script id="myselfListTemplate" type="text/x-jquery-tmpl">
	

<div class="tweetList" data-id="<%=id%>">
	<div class="tweetListImg" data-authorid=<%=authorid%> data-author=<%=author%> data-id=<%=id%>>
	    <%
	       if(portrait === "/img/portrait.gif"){
	       	  portrait = "../base/img/widget_dface.ing";
	       }
	    %>
	<%if(portrait===""){var portrait="http://www.oschina.net/img/portrait.gif"}%>
	    
		<img src="<%=portrait%>" alt="" onerror="javascript:this.src='../base/img/widget_dface.ing';"></div>
	<div class="tweetContent" data-id="<%=id%>">
		<div class="tweetText" data-id="<%=id%>">
			<span class="tweetListissuer"><%=author%></span>
		</div>
		
		<div class="tweetListTit h5 tweetText" data-id="<%=id%>"><%=body%></div>
		<%
			if(typeof imgSmall !== "undefined"){ %>

				<div style="width:100%;">
				<div class="ImgContainer listImg" img-data=<%=imgBig%>>
				<img src=<%=imgSmall%>>
				</div><div id="blankDiv" class="ImgContainer blankDiv tweetText " data-id="<%=id%>"><span>&nbsp;</span></div>
				</div>
			<% }
		%>
		<div class="tweetListInfo h6tweetText" data-id="<%=id%>" >
			<div><%=moment(pubDate, "YYYY-MM-DD HH:mm:ss").fromNow()%></div>
			<div>
				<img src="../base/img/widget_comment_count_icon.ing" class="tweetListImginfo2"/>
				<span><%=commentCount%></span>
			</div>
		</div>
	</div>
</div>


</script>

<!-- header -->
<header class="bar-title">
	<div class="left-banner">
		<span class="icon-group imgsize"></span>
	</div>
	<h1 class="tweetListTitle">动弹</h1>
	<div class="right-banner">
		<span class="issueBtn icon-comments imgsize"></span>
	</div>
</header>

<!-- uncomment this if you want a sencondary-bars

<nav class="bar-standard bar-header-secondary"></nav>
-->
<!-- content -->

<nav class="nav-menu bar-standard bar-header-secondary">
<ul id="io" class="segmented-controller">
	<li  data-value="tweet/tweet-list">
		<a href="#">最新动弹</a>
	</li>
	<li data-value="tweet/hot-list">
		<a href="#">热门动弹</a>
	</li>
	<li class="active" data-value="tweet/myself-list">
		<a href="#">我的动弹</a>
	</li>
</ul>
</nav>

<div class="content">

<list id="tweet-myself-list" 
    autoLoad="false"
    isPullDownRefresh="true"  
    jsonRoot="tweetlist"
    bundle="fs"
    paging="true"
    iScroll="true"
    _itemTemplate="myselfListTemplate"></list>


</div>

<footer  class="footer-menu" data-value="tweet"></footer>